<?php
	class CommonAction extends Action{
		   public function  _Initialize(){
		   			if(!isset($_SESSION['uname']) || !isset($_SESSION['uid'])){
		   					$this->error('你还没登录 请先登录',U('Index/index'));
		   			}
		   }
	}




?>